#include <myheader.h>

/* Usage:  */
int main(int argc, char *argv[]){                                  
    int pipe_fd=open("1.pipe",O_RDONLY);    
    while(1){
        char buf[6]={0};
        read(pipe_fd,buf,sizeof(buf));
        printf("%s\n",buf);
        close(pipe_fd);

    }
    
    
    return 0;
}

